<template>
	<div class="knowledge-graph-page">
		<KnowledgeGraphCom :business-code="courseCode" :root-name="courseName" type="course" />
	</div>
</template>

<script setup lang="ts">
import KnowledgeGraphCom from '@/components/graph/KnowledgeGraphCom.vue';

withDefaults(
	defineProps<{
		courseCode: string;
		courseName: string;
	}>(),
	{
		courseCode: '',
		courseName: ''
	}
);
</script>
<style scoped lang="scss">
.knowledge-graph-page {
	position: relative;
	height: 100%;
	padding: 2rem;
}
</style>
